/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.fx.dealer.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 串码查询Entity
 * @author jyangye
 * @version 2018-01-24
 */
public class FxDeaWarehousesnquery extends DataEntity<FxDeaWarehousesnquery> {
	
	private static final long serialVersionUID = 1L;
	private String snnumber;		// snnumber
	private String snid;		// snid
	private String boxnumber;		// boxnumber
	private String currentwarehouseid;		// currentwarehouseid
	private String waresid;		// waresid
	private String snstate;		// snstate
	private Date lastchangedate;		// lastchangedate
	private String ismodelmachine;		// ismodelmachine
	private String isbadmachine;		// isbadmachine
	private String meid;		// meid
	private String imei2;		// imei2
	private String backsourcewarehouseid;		// backsourcewarehouseid
	private String protouseemployeeid;		// protouseemployeeid
	private Date inwarehousedate;		// inwarehousedate
	private String inwarehouseid;		// inwarehouseid
	private Date lastretaildate;		// lastretaildate
	private String lastretailhandleremployeeid;		// lastretailhandleremployeeid
	private Date electronicregistrytime;		// electronicregistrytime
	private Date lastdispatchdate;		// lastdispatchdate
	private Date beginLastchangedate;		// 开始 lastchangedate
	private Date endLastchangedate;		// 结束 lastchangedate

    private String zdTime;
	
	public FxDeaWarehousesnquery() {
		super();
	}

	public FxDeaWarehousesnquery(String id){
		super(id);
	}

	@Length(min=1, max=30, message="snnumber长度必须介于 1 和 30 之间")
	@ExcelField(title="snnumber", align=2, sort=10)
	public String getSnnumber() {
		return snnumber;
	}

	public void setSnnumber(String snnumber) {
		this.snnumber = snnumber;
	}
	
	@Length(min=1, max=32, message="snid长度必须介于 1 和 32 之间")
	@ExcelField(title="snid", align=2, sort=20)
	public String getSnid() {
		return snid;
	}

	public void setSnid(String snid) {
		this.snid = snid;
	}
	
	@Length(min=0, max=20, message="boxnumber长度必须介于 0 和 20 之间")
	@ExcelField(title="boxnumber", align=2, sort=30)
	public String getBoxnumber() {
		return boxnumber;
	}

	public void setBoxnumber(String boxnumber) {
		this.boxnumber = boxnumber;
	}
	
	@Length(min=0, max=11, message="currentwarehouseid长度必须介于 0 和 11 之间")
	@ExcelField(title="currentwarehouseid", align=2, sort=40)
	public String getCurrentwarehouseid() {
		return currentwarehouseid;
	}

	public void setCurrentwarehouseid(String currentwarehouseid) {
		this.currentwarehouseid = currentwarehouseid;
	}
	
	@Length(min=0, max=11, message="waresid长度必须介于 0 和 11 之间")
	@ExcelField(title="waresid", align=2, sort=50)
	public String getWaresid() {
		return waresid;
	}

	public void setWaresid(String waresid) {
		this.waresid = waresid;
	}
	
	@Length(min=0, max=6, message="snstate长度必须介于 0 和 6 之间")
	@ExcelField(title="snstate", align=2, sort=60)
	public String getSnstate() {
		return snstate;
	}

	public void setSnstate(String snstate) {
		this.snstate = snstate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="lastchangedate", align=2, sort=70)
	public Date getLastchangedate() {
		return lastchangedate;
	}

	public void setLastchangedate(Date lastchangedate) {
		this.lastchangedate = lastchangedate;
	}
	
	@Length(min=0, max=1, message="ismodelmachine长度必须介于 0 和 1 之间")
	@ExcelField(title="ismodelmachine", align=2, sort=80)
	public String getIsmodelmachine() {
		return ismodelmachine;
	}

	public void setIsmodelmachine(String ismodelmachine) {
		this.ismodelmachine = ismodelmachine;
	}
	
	@Length(min=0, max=1, message="isbadmachine长度必须介于 0 和 1 之间")
	@ExcelField(title="isbadmachine", align=2, sort=90)
	public String getIsbadmachine() {
		return isbadmachine;
	}

	public void setIsbadmachine(String isbadmachine) {
		this.isbadmachine = isbadmachine;
	}
	
	@Length(min=0, max=30, message="meid长度必须介于 0 和 30 之间")
	@ExcelField(title="meid", align=2, sort=100)
	public String getMeid() {
		return meid;
	}

	public void setMeid(String meid) {
		this.meid = meid;
	}
	
	@Length(min=0, max=30, message="imei2长度必须介于 0 和 30 之间")
	@ExcelField(title="imei2", align=2, sort=110)
	public String getImei2() {
		return imei2;
	}

	public void setImei2(String imei2) {
		this.imei2 = imei2;
	}
	
	@Length(min=0, max=11, message="backsourcewarehouseid长度必须介于 0 和 11 之间")
	@ExcelField(title="backsourcewarehouseid", align=2, sort=120)
	public String getBacksourcewarehouseid() {
		return backsourcewarehouseid;
	}

	public void setBacksourcewarehouseid(String backsourcewarehouseid) {
		this.backsourcewarehouseid = backsourcewarehouseid;
	}
	
	@Length(min=0, max=32, message="protouseemployeeid长度必须介于 0 和 32 之间")
	@ExcelField(title="protouseemployeeid", align=2, sort=130)
	public String getProtouseemployeeid() {
		return protouseemployeeid;
	}

	public void setProtouseemployeeid(String protouseemployeeid) {
		this.protouseemployeeid = protouseemployeeid;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="inwarehousedate", align=2, sort=140)
	public Date getInwarehousedate() {
		return inwarehousedate;
	}

	public void setInwarehousedate(Date inwarehousedate) {
		this.inwarehousedate = inwarehousedate;
	}
	
	@Length(min=0, max=11, message="inwarehouseid长度必须介于 0 和 11 之间")
	@ExcelField(title="inwarehouseid", align=2, sort=150)
	public String getInwarehouseid() {
		return inwarehouseid;
	}

	public void setInwarehouseid(String inwarehouseid) {
		this.inwarehouseid = inwarehouseid;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="lastretaildate", align=2, sort=160)
	public Date getLastretaildate() {
		return lastretaildate;
	}

	public void setLastretaildate(Date lastretaildate) {
		this.lastretaildate = lastretaildate;
	}
	
	@Length(min=0, max=32, message="lastretailhandleremployeeid长度必须介于 0 和 32 之间")
	@ExcelField(title="lastretailhandleremployeeid", align=2, sort=170)
	public String getLastretailhandleremployeeid() {
		return lastretailhandleremployeeid;
	}

	public void setLastretailhandleremployeeid(String lastretailhandleremployeeid) {
		this.lastretailhandleremployeeid = lastretailhandleremployeeid;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="electronicregistrytime", align=2, sort=180)
	public Date getElectronicregistrytime() {
		return electronicregistrytime;
	}

	public void setElectronicregistrytime(Date electronicregistrytime) {
		this.electronicregistrytime = electronicregistrytime;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="lastdispatchdate", align=2, sort=190)
	public Date getLastdispatchdate() {
		return lastdispatchdate;
	}

	public void setLastdispatchdate(Date lastdispatchdate) {
		this.lastdispatchdate = lastdispatchdate;
	}
	
	public Date getBeginLastchangedate() {
		return beginLastchangedate;
	}

	public void setBeginLastchangedate(Date beginLastchangedate) {
		this.beginLastchangedate = beginLastchangedate;
	}
	
	public Date getEndLastchangedate() {
		return endLastchangedate;
	}

	public void setEndLastchangedate(Date endLastchangedate) {
		this.endLastchangedate = endLastchangedate;
	}


    public String getZdTime() {
        return zdTime;
    }

    public void setZdTime(String zdTime) {
        this.zdTime = zdTime;
    }
}